package com.xique.door.controller;

import com.xique.common.core.web.controller.BaseController;
import com.xique.door.bean.request.wxMessage.WxDoorOpenMessageSendRequest;
import com.xique.door.biz.service.IWxMessageSendBizService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @author shd
 * @create 2022/4/27 11:13
 */
@RestController
@RequestMapping("/wxMessage/send")
public class WxMessageSendController extends BaseController {

    @Autowired
    private IWxMessageSendBizService wxMessageTemplateBizService;

    @PostMapping("/doorOpen")
    public void sendDoorOpenMessage(@RequestBody WxDoorOpenMessageSendRequest request) {
        wxMessageTemplateBizService.sendDoorOpenMessage(request);
    }

}
